#!/usr/bin/python
# user_input.py
def reverse(text):
    return text[::-1]
def is_palindrome(text):
    return text == reverse(text)

something = input('Enter text:')
if (is_palindrome(something)):
    print("Yes, it is a palindrome")
else:
    print("No,it is not a palindrome")